package com.ruoyi.res_banner.domain;
import java.util.Date;
public class Res_Banner {
        int id;
        String title;
        String pic;
        String target_url;
        int sort;
        String status;
        Date create_time;
        Date update_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getTarget_url() {
            return target_url;
        }

        public void setTarget_url(String target_url) {
            this.target_url = target_url;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public Date getCreate_time() {
            return create_time;
        }

        public void setCreate_time(Date create_time) {
            this.create_time = create_time;
        }

        public Date getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(Date update_time) {
            this.update_time = update_time;
        }
        //这里重新toString 主要是为了等会展示比较方便，否则打印出来是class，看不懂
        public String toString() {
            return "Res_Banner{" +
                    "id=" + id +
                    "title" + title +
                    "pic" + pic +
                    "target_url" + target_url +
                    "sort" + sort +
                    "status" + status +
                    "create_time" + create_time +
                    "update_time" + update_time +
                    "}";
        }


}
